<?php
class SlideModel extends Model{
    public function getSlideBySign($sign = []){
        $where = ['sign'=>$sign];
        return $this->where($where)->select();
    }
    public function getSlideById($ids = []){
        $where = ['id'=>$ids];
        return $this->where($where)->select();
    }        
        
}